{foreach from=$items item=item name=items}
{if $smarty.foreach.items.first}
<?xml version="1.0" encoding="utf-8"?>
<rss version="0.92">
<channel>
	<title>BRAX FLASH developer</title>
	<link>http://www.brax4your.net/</link>
	<description>Flash coding solutions and some other services</description>
	<language>en</language>
{/if}

	
	<item>
		<title>{$item.title|stripslashes|htmlspecialchars}</title>
		<description>{$item.body|stripslashes|strip_tags|truncate:200:"..."}</description>
		<link>http://www.brax4your.net/#/topic={$item.id}/page={if $item.blog_item}blog{else}portfolio{/if}</link>
	</item>


{if $smarty.foreach.items.last}
</channel>
</rss>
{/if}
{/foreach}